package com.newly.common.base.entity.sys.auth.entity.bo;

import com.newly.common.base.constants.AuthConstant;
import lombok.Data;

/**
 * @program: newly-parent
 * @remark: 权限实体
 * @author: guan
 * @create: 2022-01-13 18:18
 */
@Data
public class AuthEntityTypeBo {
    /**
     * 权限实体类型编码
     */
    private Integer code;

    /**
     * 权限实体备注
     */
    private String remark;

    public AuthEntityTypeBo(AuthConstant.AuthEntityType value) {
        this.code = value.getCode();
        this.remark = value.getRemark();
    }

    public AuthEntityTypeBo() {
    }
}
